import service from '@/utils/request';

// 租户人员管理-------------------

// 新增
export function tenantPersonnelTable_add(payload = {}) {
    return service.post('/tenantPersonnelTable/add', payload)
}

//通过id删除 
export function tenantPersonnelTable_deleteById(payload = {}) {
    return service.delete('/tenantPersonnelTable/deleteById', { params: payload })
}

// 批量删除
export function tenantPersonnelTable_deletefew(payload = {}) {
    return service.delete('/tenantPersonnelTable/deletefew', { params: payload })
}

// 信息编辑
export function tenantPersonnelTable_edit(payload = {}) {
    return service.put('/tenantPersonnelTable/edit', { params: payload })
}

// 通过id获取信息
export function tenantPersonnelTable_queryById(payload = {}) {
    return service.get('/tenantPersonnelTable/queryById', { params: payload })
}

//获取所有租户信息
export function tenantPersonnelTable_queryByPage(payload = {}) {
    return service.get('/tenantPersonnelTable/queryAll', { params: payload })
}








